﻿<%@ Page Title="View Builders" Language="C#" MasterPageFile="~/CDBPage.master" AutoEventWireup="true"
    CodeFile="addBuilders.aspx.cs" Inherits="addBuilders" %>

<%@ Register Src="controls/userNavigation.ascx" TagName="userNavigation" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <script type="text/javascript" src="js/jquery.prettyPhoto.js"></script>
    <link rel="stylesheet" href="css/prettyPhoto.css" />
    <script type="text/javascript" charset="utf-8">
        $(document).ready(function() {
            $("a[rel^='prettyPhoto']").prettyPhoto({
                custom_markup: '<div id="map_canvas" style="width:500px; height:300px"></div>',
            });
        });
    </script>
    <section class="content">
    <div class="inner-billboard">
        <h3>Add Builders</h3>
        <blockquote></blockquote>
    </div>
        <div style="min-height: 300px;">
                    <p></p>
                    <uc1:userNavigation ID="userNavigation1" runat="server" />
                    <br /><br /><br />
                    <div style="float: left;">
                        <div class="news-gallery">
                        <div style="color:Red;">
                        <asp:Literal id="spMessage" runat="server"></asp:Literal>
                        </div>
                        <asp:DataList ID="dListBuilders" runat="server" RepeatColumns="3" 
                        RepeatDirection="Horizontal" Width="100%" 
                        onitemdatabound="dListBuilders_ItemDataBound">
                        <ItemTemplate>
                            <ul>
                                <li class="ease">
                                    <h2><a href="popUpBuilders.aspx?id=<%#Eval("Id") %>&ajax=true&width=500&height=300" rel="prettyPhoto[ajax]">
                                            <%#Eval("Name") %></a></h2>
                                    <asp:Label id="spanDate" style="display: none;" runat="server" Text='<%#Eval("DateCreated")%>'></asp:Label>
                                        <span id="spDateCreated" runat="server">
                                            <%--<small>May</small>
                                            <div>28</div>--%>
                                        </span>
                                    <p></p>
                                    <div style="text-align:center; background-color: Black; display:none;"><a href="addBuilders.aspx?bId=<%#Eval("Id") %>" style=" color: White !important;">Select Me</a></div>
                                </li>
                            </ul>
                        </ItemTemplate>
                    </asp:DataList>
                </div>
                    </div>
                    <div class="clear"></div>
            </div>
    
</section>
</asp:Content>
